how to generate unique string

前端 未结 4 553
广开言路
广开言路 2020-12-20 18:29

I want to transform an XML document into HTML. Some XML elements have links to others documents like:


In the H

4条回答
  •  故里飘歌
    2020-11-21 01:18

    I had to insert date at the beginning of the lines of a log file and it's done like below:

    DATE=$(date +"%Y-%m-%d")
    awk '{ print "'"$DATE"'", $0; }' /path_to_log_file/log_file.log
    

    It can be redirect to another file to save

提交回复
热议问题